Skip to content

Fetch NLopt when not available (and fix compiler warnings) - #74

Open
Butakus wants to merge 4 commits into
EasyNavigation:rollingfrom
Butakus:fix_warnings
Open

Fetch NLopt when not available (and fix compiler warnings)#74
Butakus wants to merge 4 commits into
EasyNavigation:rollingfrom
Butakus:fix_warnings

Conversation

@Butakus

@Butakus Butakus commented Jul 27, 2026

Copy link
Copy Markdown
Member

Hi,

This PR tries to solve a major issue with the package releases: the nlopt library is not available for RHEL, so those packages are not being built (and we are reminded of it every day by the buildfarm).

When the package is not available in the system (when find_package fails), it is downloaded at build time and compiled via CMake's FetchContent. The prefered option is still getting the package via find_package, but this allows using the library when not available.

Additionally, I fixed some compiler warnings about using uninitialized variables (parameters) and a couple of unused variables.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.36842% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...src/easynav_serest_controller/SerestController.cpp 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant